<?php
/**
 * Introduction: 后台管理组表  auth_group
 * @author: 杨陈鹏
 * @date: 2016/4/05 16:04
 * @email: yangchenpeng@cdlinglu.com
 */

namespace Common\Model;


use Think\Model;

class AuthGroupModel extends Model
{
    protected $connection;//数据库连接
    //定义模型字段
    protected $fileds = ['id', 'title', 'status', 'rules', 'description', 'enname'];
    //定义表名
    protected $tableName = 'auth_group';

    public function _initialize()
    {
        $this->connection = C('Databaese');
    }
}